package com.kun.mall.ware.exception;

/**
 * @author fangkun
 * @create 2023-03-30-15:49
 */
public class NoStockException extends RuntimeException{

    private Long skuId;

    public NoStockException(Long skuId){
        super(skuId + "没有足够的库存的");
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
